package com.zh.work.entity.channel;


import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableLogic;
import com.baomidou.mybatisplus.annotation.TableName;
import com.fasterxml.jackson.annotation.JsonInclude;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

@ApiModel("网关商户实体类")
@Data
@EqualsAndHashCode(callSuper = true)
@TableName("online_channel_merch")
@JsonInclude(JsonInclude.Include.NON_NULL)
public class OnlineChannelMerchEntity extends OnlineChannelEntity{

  private static final long serialVersionUID = -2783599171886227965L;
  @ApiModelProperty(value = "主键", name = "id")
  @TableId("id")
  private Long id;

  @ApiModelProperty(value = "机构编码", name = "branchno")
  @TableField(value = "branchno")
  private String branchNo;
  @ApiModelProperty(value = "渠道商户编号", name = "merchNo")
  @TableField(value = "merchno")
  private String merchNo;
  @ApiModelProperty(value = "渠道商户名称", name = "merchName")
  private String merchName;
  @ApiModelProperty(value = "渠道终端号", name = "termNo")
  @TableField(value = "termno")
  private String termNo;
  @ApiModelProperty(value = "最大交易额", name = "maxTrans")
  private Float maxTrans;
  @ApiModelProperty(value = "今日交易额", name = "todayTrans")
  private Float todayTrans;

}
